<template>
  <!-- 月累业绩明细表 -->
  <el-table :data="tableData" style="width: 100%" border>
    <!-- <el-table-column prop="date" label="当日业绩" width="180">
    </el-table-column> -->
    <el-table-column prop="customerName" label="客户名称"> </el-table-column>
    <el-table-column prop="daySellMoney" label="业绩"> </el-table-column>
    <el-table-column label="业绩排名" type="index" width="120px">
    </el-table-column>
    <el-table-column prop="daySellingPrice" label="售价"> </el-table-column>
    <el-table-column prop="dayDiscount" label="平均折扣"> </el-table-column>
    <el-table-column prop="sequenceNumber" label="销售单据数">
    </el-table-column>
    <el-table-column prop="daySellNumber" label="销售件数"> </el-table-column>
  </el-table>
</template>

<script>
import { dayPerformanceSchedule } from '@/request/store/K_PerformanceAnalysis'

export default {
  data() {
    return {
      tableData: []
    }
  },
  created() {
    this.dayPerformanceSchedule()
  },
  methods: {
    async dayPerformanceSchedule() {
      const { data } = await dayPerformanceSchedule()
      if (data && data.code === 200) {
        this.tableData = data.data
      }
    }
  }
}
</script>

<style></style>
